﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;

namespace WpfWordsLearner.Model
{
	public class WordsModel : DependencyObject
	{
		public string EnglishWord
		{
			get { return (string)GetValue(EnglishWordsProperty); }
			set { SetValue(EnglishWordsProperty, value); }
		}

		// Using a DependencyProperty as the backing store for EnglishWords.  This enables animation, styling, binding, etc...
		public static readonly DependencyProperty EnglishWordsProperty =
			DependencyProperty.Register("EnglishWord", typeof(string), typeof(WordsModel), new PropertyMetadata(string.Empty));





		public string Translate
		{
			get { return (string)GetValue(TranslateProperty); }
			set { SetValue(TranslateProperty, value); }
		}

		// Using a DependencyProperty as the backing store for Translate.  This enables animation, styling, binding, etc...
		public static readonly DependencyProperty TranslateProperty =
			DependencyProperty.Register("Translate", typeof(string), typeof(WordsModel), new UIPropertyMetadata(string.Empty));


	}
}
